package com.pat.web.services;

import com.pat.web.model.Note;

public class NoteService {

	public static Note noteBelong(long noteId, long userId) {
		Note note = Note.dao.findFirst("select * from note where user_id = ? and id = ?", userId, noteId);
		if (note != null) {
			return note;
		}
		return note;
	}
}
